@font-face {
    font-family: 'Minecrafter';
    src: url('/Minecrafter-Alt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Minecrafter', 'Courier New', monospace;
    background-color: #2b2b2b;
    color: #d4d4d4;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(0,0,0,0.15),
            rgba(0,0,0,0.15) 1px,
            transparent 1px,
            transparent 40px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(0,0,0,0.15),
            rgba(0,0,0,0.15) 1px,
            transparent 1px,
            transparent 40px
        );
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    width: 400px;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.site-title {
    font-size: 24px;
    color: #00ff88;
    text-shadow: 2px 2px 0px #008844;
}

main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.map-container {
    background: #3a3a3a;
    border: 3px solid #654321;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.gallery-title {
    font-size: 28px;
    color: #00ff88;
    text-shadow: 2px 2px 0px #008844;
    text-align: center;
    margin-bottom: 20px;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.screenshot-item {
    background: #2b2b2b;
    border: 2px solid #654321;
    border-radius: 8px;
    padding: 10px;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.screenshot {
    width: 100%;
    height: auto;
    border-radius: 4px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.screenshot-caption {
    font-size: 14px;
    color: #d4d4d4;
    text-align: center;
    margin-top: 10px;
}

.download-section {
    text-align: center;
    padding: 40px;
    background: #3a3a3a;
    border: 3px solid #654321;
    border-radius: 8px;
}

.download-section h2 {
    font-size: 28px;
    color: #00ff88;
    margin-bottom: 10px;
}

.download-section p {
    font-size: 16px;
    color: #d4d4d4;
    margin-bottom: 30px;
}

.download-btn {
    font-family: 'Minecrafter', 'Courier New', monospace;
    font-size: 18px;
    padding: 15px 40px;
    background: #6B8E23;
    color: white;
    border: 3px solid #556B2F;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 0 #556B2F;
    box-shadow: 0 4px 0 #556B2F;
}

.download-btn:hover {
    background: #8B4513;
    border-color: #654321;
    box-shadow: 0 2px 0 #654321;
    transform: translateY(2px);
}

.btn-icon {
    margin-right: 8px;
}

footer {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    font-size: 14px;
    color: #696969;
}

/* Music toggle button (small, unobtrusive) */
.music-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    border: 2px solid #556B2F;
    background: rgba(107,142,35,0.95);
    color: #fff;
    font-family: 'Minecrafter', monospace;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 0 #556B2F;
    transition: transform 0.12s ease, background 0.12s ease;
    z-index: 20;
}

.music-btn:hover { transform: translateY(-2px); background: #8B9E2A; }
.music-btn[aria-pressed="true"] { background: #6B8E23; border-color: #3e5b10; }

@media (max-width: 600px) {
    .logo {
        width: 300px;
    }
    
    .site-title {
        font-size: 20px;
    }
    
    .download-section {
        padding: 20px;
    }
    
    .download-btn {
        font-size: 16px;
        padding: 12px 30px;
    }
}